package symbolexp;

import java.awt.image.BufferedImage;
import java.util.logging.Logger;

public class Symbol {
	final static Logger logger = Logger.getLogger(Symbol.class.getName());

	public enum Condition {
		Hue, Value, Texture, HueValue, HueTexture, ValueTexture, HueValueTexture
	}

	public static Condition[] conds = Condition.values();

	public static Condition findCondition(String name) {

		for (Condition eachCond : conds) {
			if (eachCond.name().equalsIgnoreCase(name)) {
				return eachCond;
			}
		}
		logger.severe("could not match symbol!!!");
		return null;
	}

	BufferedImage im;
	String name;
	Condition cond;

}
